package com.aistar.service.job;

import com.aistar.model.entity.EmployeeBlacklist;

import java.util.List;

public interface IEmployeeBlackListService {
    int saveBlackList(EmployeeBlacklist employeeBlacklist, Integer id, Integer eid);

    int searchCompany(Integer eid, Integer cid);

    int dropBlack(Integer eid, Integer cid);

    // 根据求职者id和职位id判断该求职者是否屏蔽该招聘者所在公司
    boolean judgeBlacklist(Integer employeeId,Integer recruitmentId);
    
    //保存到redis
    void saveToRedis(Integer employeeId, Integer recruitmentId);

    //保存到mysql
    void saveToMySql(Integer id,Integer eid);

    //删除redis
    void delToRedis(Integer employeeId, Integer recruitmentId);
}
